package cn.itcast.mapper;

import cn.itcast.pojo.OperateLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogMapper {
    @Select("select ol.* , e.name operate_emp_name from operate_log ol , emp e where ol.operate_emp_id = e.id")
    List<OperateLog> selectByPage();
}
